from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from bs4 import BeautifulSoup


driver = webdriver.Chrome(executable_path="./chromedriver")

driver.get("https://www.baidu.com/s?wd=1")


div_list = driver.find_element_by_xpath("//*[@id=\"content_left\"]").find_elements_by_tag_name("div")

for div in div_list:
    div.find_element_by_tag_name("a").click()
    break


driver.close()



